Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: LANDs section race condition #2197

Merged
merged 5 commits into from
Mar 21, 2024
Merged

Conversation

juanmahidalgo
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Mar 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marketplace ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 9:07am

@coveralls
Copy link

coveralls commented Mar 20, 2024

Coverage Status

coverage: 66.464% (+0.3%) from 66.193%
when pulling 67a8989 on fix/lands-page-race-condition
into e4e7951 on master.

@@ -449,3 +453,35 @@ describe('when handling the transfer NFT request action', () => {
})
})
})

describe('when handling the connect wallet success action', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind moving some of the other tests that were deleted here to cover most of the execution cases?

const view = getView(state)
const loadingState = getLoadingNFTs(state).filter(loading => loading.payload.options.view === view)
const assets = getBrowseAssets(state, section, assetType)
const loadingStateFilteredByView = loadingState.filter(ls => ls.payload.options.view === View.MARKET)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the AssetList component is used in a lot of places, will this restriction affect other places that don't share the Market view?

Copy link
Contributor

@LautaroPetaccio LautaroPetaccio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, send it 🚀

@juanmahidalgo juanmahidalgo merged commit 6201af6 into master Mar 21, 2024
9 checks passed
@juanmahidalgo juanmahidalgo deleted the fix/lands-page-race-condition branch March 21, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants